package com.mxpio.erp.common.technology.service;

import com.mxpio.erp.common.enums.OrderStatusEnums;
import com.mxpio.erp.common.technology.entity.BomInfoTmp;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


public interface BomInfoTmpService extends BaseService<BomInfoTmp> {
    BomInfoTmp listBomTmp(String itemCode);

    Page<BomInfoTmp> page(Pageable page, Criteria c);

    Result<BomInfoTmp> updateBomStatus(BomInfoTmp bomInfo, OrderStatusEnums.BomStatus bomStatus);

    boolean audit(String bomId);

    boolean validBeginTime(BomInfoTmp bomInfo);

}
